
export type eventFunc = (...args:any[]) => void;



export interface IEventEmitter {
    emit: (event: string | symbol, ...args:any[]) => boolean;
    on: (event: string | symbol, fn:eventFunc, context?:any) => void;
    off: (event: string, fn?:eventFunc,context?:any,once?: boolean) =>　this;
    once: (event: string | symbol, fn:eventFunc, context?:any) => void;
}
